/*
 * @LastEditors: yuSeen
 * @LastEditTime: 2021-12-22 22:05:04
 */
const { shell, ipcMain } = require("electron");

// 打开链接
const openUrl = () => {
  ipcMain.on("openUrl", (event, url) => {
    shell.openExternal(url);
  });
};

module.exports = openUrl;
